package com.comboo.example.service;

import com.comboo.example.domain.Person;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

/**
 * @author Sherman
 * created in 2018/12/19 2018
 */
public interface PersonService {

    Person findById(Long id);

    Page<Person> findPage(Pageable pageable);

    Person save(Person person);

    void deleteById(Long id);
}
